package com.ruoyi.keep.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 通知用户是否读了对象 informisnew
 * 
 * @author zqd
 * @date 2024-08-14
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Informisnew extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 用户id */
    private Long userid;

    /** 公告id */
    private Long informid;

    /** 0未读，1已读 */
    private Long isNew;

   private Long del;

    @Excel(name = "公告内容")
    private String announcement;

    /** 公告时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "公告时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date annTime;

}
